package com.lcxw.hxzb.friendcircle.project.system.domain;


import java.util.List;

import com.lcxw.hxzb.friendcircle.framework.web.domain.BaseEntity;

/**
 * 用户动态对象 ywpd_dynamic
 *
 * @author jjp
 * @date 2020-07-20
 */
public class YwpdDynamic extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long dynamicId;

    private Long commentId;

    private String myName;

    /**
     * 主键
     */
    private String userId;

    /**
     * 动态内容，文字
     */
    private String content;

    /**
     * 经度
     */
    private String lng;

    /**
     * 纬度
     */
    private String lat;

    /**
     * 位置名称
     */
    private String address;

    /**
     * 动态类型(1-图片 2-视频)
     */
    private Long type;

    /**
     * 动态可见范围(1-公开 2-仅好友)
     */
    private Long scope;

    /**
     * 视频地址
     */
    private String video;

    /**
     * 多张图片，用逗号隔开
     */
    private String pictures;

    /**
     * 浏览量
     */
    private Long views;

    /**
     * 点赞量
     */
    private Long likes;

    /**
     * 删除状态(0-未删除 1-已删除)
     */
    private Long status;

    /**
     * 评论量
     */
    private Long comments;

    private String comment;

    private String myComment;


    /**
     * 转发的动态id
     */
    private Long parentDynamicId;

    /**
     * 转发内容
     */
    private String parentContent;
    /*日期差*/
    private String times;

    private List<YwpdComment> commentList;
    private List<YwpdLike> likeList;

    private Long likeId;

    //点赞状态
    private int give;
    private String nickName;
    private String sex;
    private String age;
    private String imgUrl;
    private String freezeStatus;
    private Double distance;

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getLikeId() {
        return likeId;
    }

    public void setLikeId(Long likeId) {
        this.likeId = likeId;
    }
    //    private YwpdMember member;
//
//    public YwpdMember getMember() {
//        return member;
//    }
//
//    public void setMember(YwpdMember member) {
//        this.member = member;
//    }


    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }

    public String getFreezeStatus() {
        return freezeStatus;
    }

    public void setFreezeStatus(String freezeStatus) {
        this.freezeStatus = freezeStatus;
    }

    public int getGive() {
        return give;
    }

    public void setGive(int give) {
        this.give = give;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public List<YwpdComment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<YwpdComment> commentList) {
        this.commentList = commentList;
    }

    public List<YwpdLike> getLikeList() {
        return likeList;
    }

    public void setLikeList(List<YwpdLike> likeList) {
        this.likeList = likeList;
    }

    public void setDynamicId(Long dynamicId) {
        this.dynamicId = dynamicId;
    }

    public Long getDynamicId() {
        return dynamicId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLng() {
        return lng;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public void setScope(Long scope) {
        this.scope = scope;
    }

    public Long getScope() {
        return scope;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getVideo() {
        return video;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public String getPictures() {
        return pictures;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public Long getViews() {
        return views;
    }

    public void setLikes(Long likes) {
        this.likes = likes;
    }

    public Long getLikes() {
        return likes;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setComments(Long comments) {
        this.comments = comments;
    }

    public Long getComments() {
        return comments;
    }

    public void setParentDynamicId(Long parentDynamicId) {
        this.parentDynamicId = parentDynamicId;
    }

    public Long getParentDynamicId() {
        return parentDynamicId;
    }

    public void setParentContent(String parentContent) {
        this.parentContent = parentContent;
    }

    public String getParentContent() {
        return parentContent;
    }


    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getMyComment() {
        return myComment;
    }

    public void setMyComment(String myComment) {
        this.myComment = myComment;
    }

    @Override
    public String toString() {
        return "YwpdDynamic{" +
            "dynamicId=" + dynamicId +
            ", userId='" + userId + '\'' +
            ", content='" + content + '\'' +
            ", lng='" + lng + '\'' +
            ", lat='" + lat + '\'' +
            ", address='" + address + '\'' +
            ", type=" + type +
            ", scope=" + scope +
            ", video='" + video + '\'' +
            ", pictures='" + pictures + '\'' +
            ", views=" + views +
            ", likes=" + likes +
            ", status=" + status +
            ", comments=" + comments +
            ", parentDynamicId=" + parentDynamicId +
            ", parentContent=" + parentContent +
            ", times='" + times + '\'' +
            ", commentList=" + commentList +
            ", likeList=" + likeList +
            '}';
    }
}
